package com.tech.platform.cms.databases.elasticsearch.model;

import com.frameworkset.orm.annotation.ESId;
import com.frameworkset.orm.annotation.ESIndex;
import lombok.Data;
import org.frameworkset.elasticsearch.entity.ESBaseData;

import java.io.Serializable;
import java.util.List;

/**
 * @author shengqiang.wu
 * @date 2020/3/18/018 10:57
 * @desc
 */
@Data
@ESIndex(name = "classroom")
public class Classroom implements Serializable {

    @ESId
    private int id;

    private String name;

    private int number;

    private List<Student> students;

    private String[] tags;
}
